.class public Lcom/estrongs/android/ui/adapter/d;
.super Landroid/widget/BaseExpandableListAdapter;
.source "ListAdapter_DefaultWindowAdd.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/adapter/d$c;,
        Lcom/estrongs/android/ui/adapter/d$b;
    }
.end annotation


# instance fields
.field private a:Landroid/content/Context;

.field private b:Landroid/os/Handler;

.field private c:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/estrongs/android/ui/adapter/d$c;",
            ">;"
        }
    .end annotation
.end field

.field private d:Landroid/graphics/drawable/Drawable;

.field private e:Landroid/graphics/drawable/Drawable;

.field private f:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation
.end field

.field private g:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private h:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private i:I


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/os/Handler;Ljava/util/Map;Ljava/util/Map;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Landroid/os/Handler;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/Integer;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Landroid/widget/BaseExpandableListAdapter;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->f:Ljava/util/Map;

    .line 3
    iput-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->g:Ljava/util/Map;

    const/4 v0, 0x3

    .line 4
    iput v0, p0, Lcom/estrongs/android/ui/adapter/d;->i:I

    .line 5
    iput-object p1, p0, Lcom/estrongs/android/ui/adapter/d;->a:Landroid/content/Context;

    .line 6
    iput-object p2, p0, Lcom/estrongs/android/ui/adapter/d;->b:Landroid/os/Handler;

    .line 7
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object p1

    const p2, 0x7f080563

    invoke-virtual {p1, p2}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/ui/adapter/d;->e:Landroid/graphics/drawable/Drawable;

    .line 8
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object p1

    const p2, 0x7f0805ce

    invoke-virtual {p1, p2}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/ui/adapter/d;->d:Landroid/graphics/drawable/Drawable;

    .line 9
    iput-object p3, p0, Lcom/estrongs/android/ui/adapter/d;->g:Ljava/util/Map;

    .line 10
    iput-object p4, p0, Lcom/estrongs/android/ui/adapter/d;->f:Ljava/util/Map;

    .line 11
    invoke-direct {p0}, Lcom/estrongs/android/ui/adapter/d;->b()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/adapter/d;)Landroid/os/Handler;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/adapter/d;->b:Landroid/os/Handler;

    return-object p0
.end method

.method private a(I)Ljava/lang/String;
    .locals 1

    .line 19
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->a:Landroid/content/Context;

    invoke-virtual {v0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method private a(Ljava/util/List;Ljava/util/List;)V
    .locals 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/adapter/d$b;",
            ">;",
            "Ljava/util/List<",
            "Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;",
            ">;)V"
        }
    .end annotation

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->v()Ljava/util/ArrayList;

    move-result-object v0

    const/4 v1, 0x0

    .line 5
    :goto_0
    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v1, v2, :cond_3

    .line 6
    new-instance v2, Lcom/estrongs/android/ui/adapter/d$b;

    const/4 v3, 0x0

    invoke-direct {v2, p0, v3}, Lcom/estrongs/android/ui/adapter/d$b;-><init>(Lcom/estrongs/android/ui/adapter/d;Lcom/estrongs/android/ui/adapter/d$a;)V

    .line 7
    invoke-interface {p2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;

    .line 8
    iget-object v4, v3, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    invoke-static {v4}, Lcom/estrongs/android/util/h0;->s1(Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_0

    .line 9
    iget-object v4, v3, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    const-string v5, "/"

    invoke-virtual {v4, v5}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_0

    iget-object v4, v3, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    const-string v6, "#"

    invoke-virtual {v4, v6}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_0

    .line 10
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v6, v3, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    .line 11
    :cond_0
    iget-object v4, v3, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    invoke-static {v4}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 12
    iget-object v4, v3, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    invoke-static {v4}, Lcom/estrongs/fs/impl/local/f;->f(Ljava/lang/String;)Lcom/estrongs/fs/impl/local/d;

    move-result-object v4

    .line 13
    invoke-interface {v4}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v4

    invoke-virtual {v4}, Lcom/estrongs/fs/l;->b()Z

    move-result v4

    goto :goto_1

    :cond_1
    const/4 v4, 0x1

    :goto_1
    if-eqz v4, :cond_2

    .line 14
    iget-object v4, v3, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    invoke-interface {v0, v4}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_2

    .line 15
    iget-object v4, v3, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    iput-object v4, v2, Lcom/estrongs/android/ui/adapter/d$b;->c:Ljava/lang/String;

    .line 16
    iget-object v3, v3, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->shortcutName:Ljava/lang/String;

    iput-object v3, v2, Lcom/estrongs/android/ui/adapter/d$b;->b:Ljava/lang/String;

    .line 17
    iget-object v3, p0, Lcom/estrongs/android/ui/adapter/d;->a:Landroid/content/Context;

    invoke-static {v3, v4}, Lcom/estrongs/android/util/m0;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    iput-object v3, v2, Lcom/estrongs/android/ui/adapter/d$b;->a:Landroid/graphics/drawable/Drawable;

    .line 18
    invoke-interface {p1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_2
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_3
    return-void
.end method

.method private b()V
    .locals 9

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->c:Ljava/util/ArrayList;

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/adapter/d$c;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/estrongs/android/ui/adapter/d$c;-><init>(Lcom/estrongs/android/ui/adapter/d;Lcom/estrongs/android/ui/adapter/d$a;)V

    const v2, 0x7f1102e1

    .line 3
    invoke-direct {p0, v2}, Lcom/estrongs/android/ui/adapter/d;->a(I)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/estrongs/android/ui/adapter/d$c;->a:Ljava/lang/String;

    .line 4
    iget-object v2, p0, Lcom/estrongs/android/ui/adapter/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 5
    new-instance v0, Lcom/estrongs/android/ui/adapter/d$c;

    invoke-direct {v0, p0, v1}, Lcom/estrongs/android/ui/adapter/d$c;-><init>(Lcom/estrongs/android/ui/adapter/d;Lcom/estrongs/android/ui/adapter/d$a;)V

    const v2, 0x7f110ab5

    .line 6
    invoke-direct {p0, v2}, Lcom/estrongs/android/ui/adapter/d;->a(I)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/estrongs/android/ui/adapter/d$c;->a:Ljava/lang/String;

    .line 7
    new-instance v2, Ljava/util/LinkedList;

    invoke-direct {v2}, Ljava/util/LinkedList;-><init>()V

    iput-object v2, v0, Lcom/estrongs/android/ui/adapter/d$c;->b:Ljava/util/List;

    .line 8
    invoke-direct {p0}, Lcom/estrongs/android/ui/adapter/d;->c()V

    .line 9
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v2

    .line 10
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v3

    invoke-virtual {v3}, Lcom/estrongs/android/pop/l;->v()Ljava/util/ArrayList;

    move-result-object v3

    const/4 v4, 0x0

    const/4 v5, 0x0

    .line 11
    :goto_0
    iget-object v6, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    invoke-interface {v6}, Ljava/util/List;->size()I

    move-result v6

    if-ge v5, v6, :cond_1

    .line 12
    new-instance v6, Lcom/estrongs/android/ui/adapter/d$b;

    invoke-direct {v6, p0, v1}, Lcom/estrongs/android/ui/adapter/d$b;-><init>(Lcom/estrongs/android/ui/adapter/d;Lcom/estrongs/android/ui/adapter/d$a;)V

    .line 13
    iget-object v7, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    invoke-interface {v7, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Ljava/lang/String;

    iput-object v7, v6, Lcom/estrongs/android/ui/adapter/d$b;->c:Ljava/lang/String;

    .line 14
    iget-object v8, p0, Lcom/estrongs/android/ui/adapter/d;->g:Ljava/util/Map;

    invoke-interface {v8, v7}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Ljava/lang/String;

    iput-object v7, v6, Lcom/estrongs/android/ui/adapter/d$b;->b:Ljava/lang/String;

    .line 15
    iget-object v7, p0, Lcom/estrongs/android/ui/adapter/d;->f:Ljava/util/Map;

    iget-object v8, v6, Lcom/estrongs/android/ui/adapter/d$b;->c:Ljava/lang/String;

    invoke-interface {v7, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Ljava/lang/Integer;

    invoke-virtual {v7}, Ljava/lang/Integer;->intValue()I

    move-result v7

    invoke-virtual {v2, v7}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object v7

    iput-object v7, v6, Lcom/estrongs/android/ui/adapter/d$b;->a:Landroid/graphics/drawable/Drawable;

    .line 16
    iget-object v7, v6, Lcom/estrongs/android/ui/adapter/d$b;->c:Ljava/lang/String;

    invoke-interface {v3, v7}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v7

    if-nez v7, :cond_0

    .line 17
    iget-object v7, v0, Lcom/estrongs/android/ui/adapter/d$c;->b:Ljava/util/List;

    invoke-interface {v7, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v5, v5, 0x1

    goto :goto_0

    .line 18
    :cond_1
    iget-object v2, p0, Lcom/estrongs/android/ui/adapter/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 19
    new-instance v0, Lcom/estrongs/android/ui/adapter/d$c;

    invoke-direct {v0, p0, v1}, Lcom/estrongs/android/ui/adapter/d$c;-><init>(Lcom/estrongs/android/ui/adapter/d;Lcom/estrongs/android/ui/adapter/d$a;)V

    const v1, 0x7f1101c8

    .line 20
    invoke-direct {p0, v1}, Lcom/estrongs/android/ui/adapter/d;->a(I)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/estrongs/android/ui/adapter/d$c;->a:Ljava/lang/String;

    .line 21
    new-instance v1, Ljava/util/LinkedList;

    invoke-direct {v1}, Ljava/util/LinkedList;-><init>()V

    iput-object v1, v0, Lcom/estrongs/android/ui/adapter/d$c;->b:Ljava/util/List;

    .line 22
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 23
    invoke-static {}, Lcom/estrongs/android/pop/utils/v;->a()Ljava/util/ArrayList;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 24
    sget-object v2, Lcom/estrongs/android/pop/b;->d:Ljava/lang/String;

    invoke-static {v2, v4, v1}, Lcom/estrongs/android/util/m0;->a(Ljava/lang/String;ZLjava/util/List;)V

    .line 25
    iget-object v2, v0, Lcom/estrongs/android/ui/adapter/d$c;->b:Ljava/util/List;

    invoke-direct {p0, v2, v1}, Lcom/estrongs/android/ui/adapter/d;->a(Ljava/util/List;Ljava/util/List;)V

    .line 26
    iget-object v1, p0, Lcom/estrongs/android/ui/adapter/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method private b(Ljava/lang/String;)V
    .locals 2

    .line 27
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    iget v1, p0, Lcom/estrongs/android/ui/adapter/d;->i:I

    invoke-interface {v0, v1, p1}, Ljava/util/List;->add(ILjava/lang/Object;)V

    return-void
.end method

.method private c()V
    .locals 4

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object v0

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v2, "#home_page#"

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v2, "#home#"

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 5
    sget-boolean v1, Lcom/estrongs/android/pop/j;->n:Z

    if-nez v1, :cond_0

    .line 6
    iget-object v1, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v2, "/"

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const/4 v1, 0x4

    .line 7
    iput v1, p0, Lcom/estrongs/android/ui/adapter/d;->i:I

    .line 8
    :cond_0
    iget-object v1, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v1, "gallery://local/buckets/"

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v1, "music://"

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v1, "video://"

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v1, "book://"

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 13
    sget-boolean v0, Lcom/estrongs/android/pop/j;->j:Z

    const-string v1, "app://"

    if-eqz v0, :cond_1

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 15
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/pop/l;->z()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v2, "mynetwork://"

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 17
    sget-boolean v0, Lcom/estrongs/android/pop/j;->d:Z

    if-nez v0, :cond_2

    .line 18
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v3, "smb://"

    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 19
    :cond_2
    sget-boolean v0, Lcom/estrongs/android/pop/j;->S:Z

    if-nez v0, :cond_3

    .line 20
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v3, "net://"

    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 21
    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v3, "ftp://"

    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 22
    sget-boolean v0, Lcom/estrongs/android/pop/j;->e:Z

    if-eqz v0, :cond_4

    .line 23
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v3, "bt://"

    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 24
    :cond_4
    sget-boolean v0, Lcom/estrongs/android/pop/j;->b0:Z

    if-nez v0, :cond_5

    .line 25
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v3, "remote://"

    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 26
    :cond_5
    sget-boolean v0, Lcom/estrongs/android/pop/j;->R:Z

    if-nez v0, :cond_6

    .line 27
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v3, "download://"

    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 28
    :cond_6
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    const-string v3, "recycle://"

    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 29
    invoke-static {}, Lcom/estrongs/android/util/h0;->f()Ljava/util/List;

    move-result-object v0

    .line 30
    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object v3

    .line 31
    invoke-interface {v0, v3}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    .line 32
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_7

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    .line 33
    invoke-virtual {p0, v3}, Lcom/estrongs/android/ui/adapter/d;->a(Ljava/lang/String;)V

    goto :goto_0

    .line 34
    :cond_7
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    .line 35
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    return-void
.end method


# virtual methods
.method public a()V
    .locals 0

    .line 2
    invoke-direct {p0}, Lcom/estrongs/android/ui/adapter/d;->b()V

    .line 3
    invoke-virtual {p0}, Landroid/widget/BaseExpandableListAdapter;->notifyDataSetChanged()V

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 0

    .line 20
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/adapter/d;->b(Ljava/lang/String;)V

    return-void
.end method

.method public getChild(II)Lcom/estrongs/android/ui/adapter/d$b;
    .locals 0

    .line 2
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/adapter/d;->getGroup(I)Lcom/estrongs/android/ui/adapter/d$c;

    move-result-object p1

    .line 3
    :try_start_0
    iget-object p1, p1, Lcom/estrongs/android/ui/adapter/d$c;->b:Ljava/util/List;

    invoke-interface {p1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/ui/adapter/d$b;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 4
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    const/4 p1, 0x0

    return-object p1
.end method

.method public bridge synthetic getChild(II)Ljava/lang/Object;
    .locals 0

    .line 1
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/ui/adapter/d;->getChild(II)Lcom/estrongs/android/ui/adapter/d$b;

    move-result-object p1

    return-object p1
.end method

.method public getChildId(II)J
    .locals 0

    int-to-long p1, p2

    return-wide p1
.end method

.method public getChildView(IIZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 2

    const/4 p3, 0x0

    if-nez p4, :cond_0

    .line 1
    iget-object p4, p0, Lcom/estrongs/android/ui/adapter/d;->a:Landroid/content/Context;

    invoke-static {p4}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p4

    const p5, 0x7f0c01c0

    const/4 v0, 0x0

    invoke-virtual {p4, p5, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p4

    .line 2
    invoke-virtual {p4}, Landroid/view/View;->getPaddingLeft()I

    move-result p5

    .line 3
    invoke-virtual {p4}, Landroid/view/View;->getPaddingRight()I

    move-result v0

    const v1, 0x7f08081c

    .line 4
    invoke-virtual {p4, v1}, Landroid/view/View;->setBackgroundResource(I)V

    .line 5
    invoke-virtual {p4, p5, p3, v0, p3}, Landroid/view/View;->setPadding(IIII)V

    .line 6
    invoke-virtual {p4, p3}, Landroid/view/View;->setFocusable(Z)V

    .line 7
    :cond_0
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/ui/adapter/d;->getChild(II)Lcom/estrongs/android/ui/adapter/d$b;

    move-result-object p1

    const p2, 0x7f090240

    .line 8
    invoke-virtual {p4, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/ImageView;

    .line 9
    iget-object p5, p1, Lcom/estrongs/android/ui/adapter/d$b;->a:Landroid/graphics/drawable/Drawable;

    if-nez p5, :cond_1

    const/16 p3, 0x8

    .line 10
    invoke-virtual {p2, p3}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_0

    .line 11
    :cond_1
    invoke-virtual {p2, p3}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 12
    iget-object p3, p1, Lcom/estrongs/android/ui/adapter/d$b;->a:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p2, p3}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    :goto_0
    const p2, 0x7f090242

    .line 13
    invoke-virtual {p4, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/TextView;

    .line 14
    iget-object p3, p1, Lcom/estrongs/android/ui/adapter/d$b;->b:Ljava/lang/String;

    invoke-virtual {p2, p3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const p2, 0x7f09023e

    .line 15
    invoke-virtual {p4, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/ImageView;

    const/4 p3, 0x1

    .line 16
    invoke-virtual {p2, p3}, Landroid/widget/ImageView;->setFocusable(Z)V

    const p3, 0x7f080528

    .line 17
    invoke-virtual {p2, p3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 18
    new-instance p3, Lcom/estrongs/android/ui/adapter/d$a;

    invoke-direct {p3, p0, p1}, Lcom/estrongs/android/ui/adapter/d$a;-><init>(Lcom/estrongs/android/ui/adapter/d;Lcom/estrongs/android/ui/adapter/d$b;)V

    invoke-virtual {p2, p3}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-object p4
.end method

.method public getChildrenCount(I)I
    .locals 0

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/adapter/d;->getGroup(I)Lcom/estrongs/android/ui/adapter/d$c;

    move-result-object p1

    .line 2
    iget-object p1, p1, Lcom/estrongs/android/ui/adapter/d$c;->b:Ljava/util/List;

    if-nez p1, :cond_0

    const/4 p1, 0x0

    return p1

    .line 3
    :cond_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    return p1
.end method

.method public getGroup(I)Lcom/estrongs/android/ui/adapter/d$c;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/ui/adapter/d$c;

    return-object p1
.end method

.method public bridge synthetic getGroup(I)Ljava/lang/Object;
    .locals 0

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/adapter/d;->getGroup(I)Lcom/estrongs/android/ui/adapter/d$c;

    move-result-object p1

    return-object p1
.end method

.method public getGroupCount()I
    .locals 1

    const/4 v0, 0x3

    return v0
.end method

.method public getGroupId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getGroupView(IZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 3

    if-nez p3, :cond_0

    .line 1
    iget-object p3, p0, Lcom/estrongs/android/ui/adapter/d;->a:Landroid/content/Context;

    invoke-static {p3}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p3

    const p4, 0x7f0c01a0

    const/4 v0, 0x0

    invoke-virtual {p3, p4, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p3

    .line 2
    iget-object p4, p0, Lcom/estrongs/android/ui/adapter/d;->a:Landroid/content/Context;

    const/high16 v0, 0x42400000    # 48.0f

    invoke-static {p4, v0}, Les/fy;->a(Landroid/content/Context;F)I

    move-result p4

    invoke-virtual {p3, p4}, Landroid/view/View;->setMinimumHeight(I)V

    .line 3
    :cond_0
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/adapter/d;->getGroup(I)Lcom/estrongs/android/ui/adapter/d$c;

    move-result-object p4

    const v0, 0x7f0906a5

    .line 4
    invoke-virtual {p3, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 5
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f060294

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    .line 6
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 7
    iget-object p4, p4, Lcom/estrongs/android/ui/adapter/d$c;->a:Ljava/lang/String;

    invoke-virtual {v0, p4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const p4, 0x7f09054c

    .line 8
    invoke-virtual {p3, p4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p4

    check-cast p4, Landroid/widget/ImageView;

    if-lez p1, :cond_2

    if-eqz p2, :cond_1

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/ui/adapter/d;->d:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p4, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0

    .line 10
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/ui/adapter/d;->e:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p4, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    :goto_0
    const/4 p1, 0x0

    .line 11
    invoke-virtual {p4, p1}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_1

    :cond_2
    const/16 p1, 0x8

    .line 12
    invoke-virtual {p4, p1}, Landroid/widget/ImageView;->setVisibility(I)V

    :goto_1
    return-object p3
.end method

.method public hasStableIds()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public isChildSelectable(II)Z
    .locals 0

    const/4 p1, 0x1

    return p1
.end method

.method public onGroupCollapsed(I)V
    .locals 2

    .line 1
    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/4 v1, 0x1

    .line 2
    iput v1, v0, Landroid/os/Message;->what:I

    .line 3
    iput p1, v0, Landroid/os/Message;->arg1:I

    .line 4
    iput v1, v0, Landroid/os/Message;->arg2:I

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/ui/adapter/d;->b:Landroid/os/Handler;

    invoke-virtual {p1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    return-void
.end method

.method public onGroupExpanded(I)V
    .locals 2

    .line 1
    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/4 v1, 0x1

    .line 2
    iput v1, v0, Landroid/os/Message;->what:I

    .line 3
    iput p1, v0, Landroid/os/Message;->arg1:I

    const/4 p1, 0x0

    .line 4
    iput p1, v0, Landroid/os/Message;->arg2:I

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/ui/adapter/d;->b:Landroid/os/Handler;

    invoke-virtual {p1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    return-void
.end method
